﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Controls="clr-namespace:MDCAdminTool.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="MDCAdminTool.Controls.SystemRequirementsCheck"
    Height="273" Width="449.2" mc:Ignorable="d">   
   
   <UserControl.Resources>
      <Style x:Key="Ok" TargetType="{x:Type Rectangle}">
         <Setter Property="Fill" Value="Green"/>         
      </Style>
      <Style x:Key="Bad" TargetType="{x:Type Rectangle}">
         <Setter Property="Fill" Value="Red"/>         
      </Style>
   </UserControl.Resources>
   
	<UserControl.Effect>
		<DropShadowEffect/>
	</UserControl.Effect>
   
    <Grid>
    	<Rectangle x:Name="rBG" Stroke="Black" RadiusX="15.9" RadiusY="15.9" Margin="0">
    		<Rectangle.Fill>
    			<LinearGradientBrush EndPoint="1.008,1.006" StartPoint="-0.02,-0.011">
    				<GradientStop Color="#FF111F30"/>
    				<GradientStop Color="#FF1972E8" Offset="0.756"/>
    			</LinearGradientBrush>
    		</Rectangle.Fill>
    	</Rectangle>
    	<Grid Margin="7,33,-7,-33">
    		<TextBlock x:Name="tbConfig" Text="Search the Distributed Cache Config File..." Margin="59.2,64,20,0" VerticalAlignment="Top" Foreground="White" FontFamily="Verdana" FontSize="13.333"/>
    		<Controls:AsyncProgressBar x:Name="pbConfig" Margin="59.2,81.203,20,0" VerticalAlignment="Top" Height="9.13" />
    		<TextBlock x:Name="tbConn" Text="Test the Connection string..." Margin="59.2,126.667,20,130.129" FontSize="13.333" FontFamily="Verdana" Foreground="White" d:LayoutOverrides="Height"/>
    		<Controls:AsyncProgressBar x:Name="pbConn" Margin="59.2,0,20,119.667" VerticalAlignment="Bottom" Height="9.463" />
    		<TextBlock x:Name="tbPowerShell" Text="Test the Power Shell..." Margin="59.2,0,20,64.333" VerticalAlignment="Bottom" FontSize="13.333" FontFamily="Verdana" Foreground="White"/>
    		<Controls:AsyncProgressBar x:Name="pbPowerShell" Margin="59.2,0,20,54" VerticalAlignment="Bottom" Height="10" />
    		
           <Rectangle x:Name="rConfig" Fill="Transparent"  Stroke="Black" RadiusX="5" RadiusY="5" HorizontalAlignment="Left" Margin="19.6,63.69,0,0" VerticalAlignment="Top" Width="30" Height="29.333"/>
    	   <Rectangle x:Name="rConn" Fill="Transparent" Stroke="Black" RadiusX="5" RadiusY="5" HorizontalAlignment="Left" Margin="19.6,126,0,117.667" Width="30"/>
    	   <Rectangle x:Name="rPowerShell" Fill="Transparent" Stroke="Black" RadiusX="5" RadiusY="5" HorizontalAlignment="Left" Margin="19.6,0,0,51.583" VerticalAlignment="Bottom" Width="30" Height="29.333"/>
           
    	</Grid>
    	<TextBlock x:Name="tbSR" Text="Check The System Requirment:" Margin="89,26.6,65,0" VerticalAlignment="Top" FontFamily="Verdana" FontSize="18.667" Foreground="White" Height="32"/>
    	<Button x:Name="Close" Click="Close_Click" HorizontalAlignment="Right" Margin="0,8,9,0" VerticalAlignment="Top" Width="20" Height="20" >
    		<TextBlock Text="X" TextWrapping="Wrap" FontWeight="Bold" FontFamily="Aharoni" Margin="0,2,0,0"/>
    	</Button>
    	<Image HorizontalAlignment="Left" VerticalAlignment="Top" Width="70" Height="70" Source="/MDCAdminTool;Component/Resources/experts4dlogo_new_Small.png" Stretch="Fill" Margin="8,6,0,0"/>
   </Grid>
   
</UserControl>
